package com.maybach.common.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class LoanOrderDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * This field corresponds to the database column b2b_loan_order.id
     */
    private Long id;

    /**
     * This field corresponds to the database column b2b_loan_order.order_no
     */
    private String orderNo;

    /**
     * This field corresponds to the database column b2b_loan_order.out_order_id
     */
    private Long outOrderId;

    /**
     * This field corresponds to the database column b2b_loan_order.order_name
     */
    private String orderName;

    /**
     * This field corresponds to the database column b2b_loan_order.buyer_id
     */
    private Long buyerId;

    /**
     * This field corresponds to the database column b2b_loan_order.seller_id
     */
    private Long sellerId;

    /**
     * This field corresponds to the database column b2b_loan_order.provider_id
     */
    private Long providerId;

    /**
     * This field corresponds to the database column b2b_loan_order.dealer_id
     */
    private Long dealerId;

    /**
     * This field corresponds to the database column b2b_loan_order.provider_name
     */
    private String providerName;

    /**
     * This field corresponds to the database column b2b_loan_order.dealer_name
     */
    private String dealerName;

    /**
     * This field corresponds to the database column b2b_loan_order.total_amount
     */
    private Long totalAmount;

    /**
     * This field corresponds to the database column b2b_loan_order.loan_amount
     */
    private Long loanAmount;

    /**
     * This field corresponds to the database column b2b_loan_order.desposit_amount
     */
    private Long despositAmount;

    /**
     * This field corresponds to the database column b2b_loan_order.margin_amount
     */
    private Long marginAmount;

    /**
     * This field corresponds to the database column b2b_loan_order.coupon
     */
    private String coupon;

    /**
     * This field corresponds to the database column b2b_loan_order.interest_rate
     */
    private BigDecimal interestRate;

    /**
     * This field corresponds to the database column b2b_loan_order.interest_amount
     */
    private Long interestAmount;

    /**
     * This field corresponds to the database column b2b_loan_order.begin_time
     */
    private Date beginTime;

    /**
     * This field corresponds to the database column b2b_loan_order.end_time
     */
    private Date endTime;

    /**
     * This field corresponds to the database column b2b_loan_order.freight_amount
     */
    private Long freightAmount;

    /**
     * This field corresponds to the database column b2b_loan_order.discount_amount
     */
    private Long discountAmount;

    /**
     * This field corresponds to the database column b2b_loan_order.other_discount
     */
    private String otherDiscount;

    /**
     * This field corresponds to the database column b2b_loan_order.other_fee
     */
    private Long otherFee;

    /**
     * This field corresponds to the database column b2b_loan_order.total_repayment
     */
    private Long totalRepayment;

    /**
     * This field corresponds to the database column b2b_loan_order.status
     */
    private Integer status;

    /**
     * This field corresponds to the database column b2b_loan_order.is_deleted
     */
    private Boolean isDeleted;

    /**
     * This field corresponds to the database column b2b_loan_order.version
     */
    private Integer version;

    /**
     * This field corresponds to the database column b2b_loan_order.email
     */
    private String email;

    /**
     * This field corresponds to the database column b2b_loan_order.margin_imgs
     */
    private String marginImgs;

    /**
     * This field corresponds to the database column b2b_loan_order.margin_imgs_status
     */
    private Integer marginImgsStatus;

    /**
     * This field corresponds to the database column b2b_loan_order.attributes
     */
    private String attributes;

    /**
     * This field corresponds to the database column b2b_loan_order.manager
     */
    private String manager;

    /**
     * This field corresponds to the database column b2b_loan_order.gmt_modified
     */
    private Date gmtModified;

    /**
     * This field corresponds to the database column b2b_loan_order.gmt_create
     */
    private Date gmtCreate;

	private String memo;

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Long getOutOrderId() {
		return outOrderId;
	}

	public void setOutOrderId(Long outOrderId) {
		this.outOrderId = outOrderId;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public Long getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}

	public Long getSellerId() {
		return sellerId;
	}

	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

	public Long getProviderId() {
		return providerId;
	}

	public void setProviderId(Long providerId) {
		this.providerId = providerId;
	}

	public Long getDealerId() {
		return dealerId;
	}

	public void setDealerId(Long dealerId) {
		this.dealerId = dealerId;
	}

	public String getProviderName() {
		return providerName;
	}

	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public String getDealerName() {
		return dealerName;
	}

	public void setDealerName(String dealerName) {
		this.dealerName = dealerName;
	}

	public Long getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(Long totalAmount) {
		this.totalAmount = totalAmount;
	}

	public Long getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(Long loanAmount) {
		this.loanAmount = loanAmount;
	}

	public Long getDespositAmount() {
		return despositAmount;
	}

	public void setDespositAmount(Long despositAmount) {
		this.despositAmount = despositAmount;
	}

	public Long getMarginAmount() {
		return marginAmount;
	}

	public void setMarginAmount(Long marginAmount) {
		this.marginAmount = marginAmount;
	}

	public String getCoupon() {
		return coupon;
	}

	public void setCoupon(String coupon) {
		this.coupon = coupon;
	}

	public BigDecimal getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(BigDecimal interestRate) {
		this.interestRate = interestRate;
	}

	public Long getInterestAmount() {
		return interestAmount;
	}

	public void setInterestAmount(Long interestAmount) {
		this.interestAmount = interestAmount;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Long getFreightAmount() {
		return freightAmount;
	}

	public void setFreightAmount(Long freightAmount) {
		this.freightAmount = freightAmount;
	}

	public Long getDiscountAmount() {
		return discountAmount;
	}

	public void setDiscountAmount(Long discountAmount) {
		this.discountAmount = discountAmount;
	}

	public String getOtherDiscount() {
		return otherDiscount;
	}

	public void setOtherDiscount(String otherDiscount) {
		this.otherDiscount = otherDiscount;
	}

	public Long getOtherFee() {
		return otherFee;
	}

	public void setOtherFee(Long otherFee) {
		this.otherFee = otherFee;
	}

	public Long getTotalRepayment() {
		return totalRepayment;
	}

	public void setTotalRepayment(Long totalRepayment) {
		this.totalRepayment = totalRepayment;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Boolean getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Boolean isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMarginImgs() {
		return marginImgs;
	}

	public void setMarginImgs(String marginImgs) {
		this.marginImgs = marginImgs;
	}

	public Integer getMarginImgsStatus() {
		return marginImgsStatus;
	}

	public void setMarginImgsStatus(Integer marginImgsStatus) {
		this.marginImgsStatus = marginImgsStatus;
	}

	public String getAttributes() {
		return attributes;
	}

	public void setAttributes(String attributes) {
		this.attributes = attributes;
	}

	public String getManager() {
		return manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}


    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}